<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,width=device-width" />
<title>分享到生活圈</title>
<link href="${basePath}/css/moments/style.css" rel="stylesheet">
<script type="text/javascript" src="${basePath}/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js"></script>
<script>
$(function(){
     $("a.location span").html(remote_ip_info.city);
     $("#address").val(remote_ip_info.city);
    //提交
    $("#submitShare").click(function(){
    	$("#shareForm").submit();
    });
});
</script>
<style type="text/css">
.topBar{ height:2.5rem; background-color:#22292c; position:fixed; width:100%; z-index:99;}
.goback{ position:absolute; left:0; top:0;}
.goback img{ width:1.5rem; margin:0.5rem 1.25rem;}
.topBarBtn{ position:absolute; top:0; right:0;}
.buttonBtn{ padding:.3rem 0.6rem; width:4rem; height:3rem;}
.buttonBtn input{ width:4rem; height:1.8rem; background-color:#45c01a; color:#fff;  border:none; border-radius:5px;font: 1rem Microsoft YaHei, Helvitica, Verdana, Arial, san-serif;}
</style>
</head>
<body>
<form class="form" method="post" id="shareForm" action="${basePath}/pic/createShare">
<input type="hidden" name="articleid" value="${bean.id!}"/>
<input type="hidden" name="fileurl" value="${bean.pImgHref?default('')}"/>
<input type="hidden" name="shareTitle" value="${bean.title?default('')}"/>
<input type="hidden" name="filetype" value="1"/>
<input type="hidden" name="isopen" value="1"/>
<input type="hidden" name="address" id="address"/>
<input type="hidden" name="shareSource" value="${wxname}">
<input type="hidden" name="shareLinkUrl" value="${basePath}/pic/detail?id=${bean.id!}&wxid=${wxid}"/>
<input type="hidden" name="wxid" value="${bean.wxid}"/>
<div class="topBar">
	<a href="javascript:history.go(-1)" class="goback"><img src="${basePath}/images/moments/back.png"></a>
    <div class="topBarBtn"><div class="buttonBtn"><input type="button" id="submitShare" value="发送"></div></div> 
</div>

<div class="content">
	<div class="newMsg" style="height:auto;overflow: hidden;">
    	<textarea class="msgCont" name="text" placeholder="这一刻的想法……" style="margin-top:2.5rem;"></textarea>
        <div style="height:50px;width:100%;overflow:hidden;margin-bottom:10px;" class="mline">
	    	<img src="${staticFilePrefixUrl}${bean.pImgHref?default('')}" style="width:50px;height:50px;float:left;margin:0 10px;"/>
	    	<span style="line-height:25px;font-size:14px;color:#333;font-family: Microsoft YaHei;">${bean.title?default('')}</span>
	    </div>
       <div><a class="location"><i class="publish_icon publish_location publish_location_active"></i><span>北京市</span></a></div>
    </div>
    <ul class="see see1">
        <li><div class="see_box"><i class="publish_icon publish_cansee_active"></i>谁可以看<span class="cansee"><!--除去--><span class="no_see">公开</span></span></div></li>
    </ul>
</div>
</form>
<body>
</body>
</html>
